package com.cssy.yd.logic.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.byd.acegiext.domain.User;
import com.cssy.yd.logic.dao.LogicOtherInwhItemDAO;
import com.cssy.yd.logic.entity.LogicOtherInwhItemDO;
import com.cssy.yd.logic.service.ILogicOtherInwhItemService;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;
import com.plat.util.IDCodeTypeUtil;

@Service("logicOtherInwhItemService")
public class LogicOtherInwhItemServiceImpl implements ILogicOtherInwhItemService{

	@Resource(name = "logicOtherInwhItemDAO")
	private LogicOtherInwhItemDAO logicOtherInwhItemDAO;
	@Override
	public SearchResult findListByExample(SearchConditions scs)
			throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer delete(String id, User user) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer update(LogicOtherInwhItemDO t, User user)
			throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public LogicOtherInwhItemDO save(LogicOtherInwhItemDO t, User user)
			throws SyBaseException {
		String id = IDCodeTypeUtil.getId();
		t.setId(id);
		logicOtherInwhItemDAO.insertLogicOtherInwhItemDO(t);
		return t;
	}

	@Override
	public LogicOtherInwhItemDO findListById(String id) throws SyBaseException {
		return null;
	}

	@Override
	public List<LogicOtherInwhItemDO> findByPid(String pid)
			throws SyBaseException {
		return logicOtherInwhItemDAO.findByPid(pid);
	}

	@Override
	public void deleteByPid(String pid) throws SyBaseException {
		logicOtherInwhItemDAO.deleteByPid(pid);
	}

	@Override
	public Integer deleteBizRemoved(String id) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

}
